package com.atguigu.upp.mappers;

import org.apache.ibatis.annotations.Param;

/**
 * Created by Smexy on 2022/9/13
 */
public interface ClickHouseMapper
{
    void createCKWideTable(@Param("table") String tableName,@Param("tagColumn") String tagColumn);

    void deleteTable(@Param("table")String tableName);

    //把不同TagValueType的标签分群的结果写入到ck对应类型的 bitmap表中
    void insertBitmap(@Param("insertTable") String targetTable,
                      @Param("tagSql") String tagSql,
                      @Param("wideTable") String wideTable,
                      @Param("do_date") String do_date);

    void deleteBitMapByDate(@Param("table") String table,@Param("dt") String date);
}
